export function parseHtmlStrToDoc(htmlStr: string) {
  const parser = new DOMParser()
  const doc = parser.parseFromString(htmlStr, 'text/html')

  return doc
}
